package com.wfw.feichat.common;

import lombok.Getter;

/**
 * 发送消息的动作枚举
 *
 * @author: wfw
 * @date: 2019/05/23
 */
@Getter
public enum MsgActionEnum {
    CONNECT(1, "第一次(或重连)初始化连接"),
    CHAT(2, "聊天消息"),
    SIGNED(3, "消息签收"),
    KEEPPALIVE(4, "客户保持心跳"),
    ;

    private Integer type;
    private String typeMsg;

    MsgActionEnum(Integer type, String typeMsg) {
        this.type = type;
        this.typeMsg = typeMsg;
    }
}
